<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>首页</title>
    <link rel="stylesheet" href="/asset/layui/css/layui.css">
    <link rel="stylesheet" href="/asset/css/index.css?20180919">
    <link rel="Shortcut Icon" href="cachet.ico">
</head>
<body class="layui-layout-body">
    <div class="layui-body">
	        <!-- 内容主体区域 -->
	        <div class="body_right">
	            <h4 class="nav_title">
				<#if _companyName?exists>${_companyName}</#if>  
	            </h4>
	            <ul class="index_totile">
	                <li>
	                    <p class="font_s56">${devicesTotal}</p>
	                    <p class="font_s20">印章总数</p>
	                </li>
	                <li>
	                    <p class="font_s56">${verifyTotal}</p>
	                    <p class="font_s20">待审核</p>
	                </li>
	                <li>
	                    <p class="font_s56">${applyTotal}</p>
	                    <p class="font_s20">申请总数</p>
	                </li>
	                <li>
	                    <p class="font_s56">${usedTotal}</p>
	                    <p class="font_s20">使用总数</p>
	                </li>
	            </ul>
	            
	            <div class="layui-row layui-col-space15" style="padding-top: 15px;">
				    <div class="layui-col-md7">
				    	<div class="layui-card">
					        <div class="layui-card-header">待办任务</div>
					        <div class="layui-card-body">
					           <table class="layui-table mytable" lay-even="" lay-skin="nob">
		                            <tbody>
		                            	<#if verifys !=null && verifys?size gt 0>
		                            	<#list verifys as item>
		                            	<tr>
			                                <td style="text-align:left">张三申请使用印章等待审核
			                                	${item.person.mae}	
			                                	<#if item.apply.applyType =='USED_APPLY'>
			                                	申请使用
			                                	<#elseif item.apply.applyType =='TAKE_APPLY'>
			                                	申请外带
			                                	</#if>
			                                	${item.apply.seal.sealName} 等待审核
			                                </td>
			                                <td>${item.apply.applyTime?string('yyyy-MM-dd HH:mm:ss')}</td>
			                            </tr>
			                            </#list>
			                            <#else>
			                            <tr>
			                                <td colspan="2">暂无待办</td>
			                            </tr>
			                            </#if>
		                            </tbody>
		                        </table>
					        </div>
					    </div>
				    </div>
				    
				    <div class="layui-col-md5">
				      	<div class="layui-card">
					        <div class="layui-card-header">使用帮助</div>
					        <div class="layui-card-body">
					        		<div class="layui-row layui-help-tb">
									    <div class="layui-col-md3">
									      <div class="layui-help-icon">
									      	<i class="layui-icon layui-icon-read" style="font-size: 46px;"></i>  
									      </div>
									    </div>
									    <div class="layui-col-md9">
									      <div class="layui-help-title">新手入门</div>
									      <div class="layui-help-text">轻轻松松带你入门</div>
									    </div>
									</div>
					          		<div class="layui-row layui-help-tb">
									    <div class="layui-col-md3">
									      <div class="layui-help-icon">
									      	<i class="layui-icon layui-icon-chat" style="font-size: 46px;"></i>  
									      </div>
									    </div>
									    <div class="layui-col-md9">
									      <div class="layui-help-title">联系客服</div>
									      <div class="layui-help-text">400-888-888</div>
									    </div>
									</div>
					        </div>
					    </div>
				    </div>
				</div>
	      </div>
     </div>


</body>
</html>